←Select platform

FindInstances(string,string,string,List<InstanceInfo>,int) Method

Summary

Finds all instances that match the specified search criteria.

Syntax
C#
C++/CLI
public ControllerReturnCode FindInstances( 
   string patientId, 
   string studyInstanceUid, 
   string seriesInstanceUid, 
   List<InstanceInfo> instances, 
   int maxQueryResults 
) 
public:  
   ControllerReturnCode^ FindInstances( 
      String^ patientId, 
      String^ studyInstanceUid, 
      String^ seriesInstanceUid, 
      List<InstanceInfo^>^ instances, 
      Int32 maxQueryResults 
   ) 

Parameters

patientId

The Patient ID for which to search.

studyInstanceUid

The Study Instance UID (Unique ID) for the study.

seriesInstanceUid

The Series Instance UID (Unique ID) for the series.

instances

List of InstanceInfo objects that will be updated with the results of the search.

maxQueryResults

Specifies the maximum number of results to return.

Return Value

A ControllerReturnCode value indicating the results of the search.

Remarks

This method is similar to FindInstances(string,string,string,List{InstanceInfo}), but allows you to pass a value for maxQueryResults that puts a limit on the number of results returned. This is useful for querying large databases, where the results returned could be unpredictably large.

Pass 0 for maxQueryResults if you do not want to limit the number of results returned.

Requirements

Target Platforms

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.WebViewer.ExternalControl Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.